package com.msw.jcwapi.dx.dxfb.mapper;

import com.msw.jcwapi.dx.dxfb.entity.Dxfb;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msw.jcwapi.wb.wbdz.entity.Wbdz;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-04-27
 */
@Mapper
public interface DxfbMapper extends BaseMapper<Dxfb> {

//    查询全部吊弦
public List<Dxfb> list();

    //通过dxid删除该底座信息
    public boolean deleteById(int id);

    //添加吊弦分布
    public boolean add(Dxfb dxfb);

    //编辑(通过dxid编辑)
    public boolean Edit(Dxfb dxfb);

    //通过dxid查询该吊弦全部信息
    public Dxfb listByDxId(int id);

}
